<?
	session_start();
	if($_SESSION["se_level"] != 2){
		header("location:tlogin.php");
		exit();
	}
	require "lib/mconnect.php";
	require_once ("templates/top.php");
	require_once ("templates/main.php");
	if(isset($_GET["module"])){
		switch($_GET["module"]){
			case "listuser":
			require "controllers/user/controllers.php";
			break;
			case "hang":
			require "controllers/hangxe/controllers.php";
			break;
			case "loai":
			require ("controllers/loaixe/controllers.php");
			default:
			require ("templates/center.php");
		}
	}
	require_once ("templates/bottom.php");
?>